package com.taikang.dao;

import com.taikang.dao.base.DefaultCommonDaoImpl;
import com.taikang.entity.User;
import org.nutz.dao.Cnd;
import org.nutz.dao.Sqls;
import org.nutz.dao.sql.Criteria;
import org.nutz.dao.sql.Sql;
import org.springframework.stereotype.Repository;

/**
 * Created by zhai on 16/5/14.
 */
@Repository
public class UserDao extends DefaultCommonDaoImpl<User>{

    public Object getUserInfo(Integer employeeId, Integer page, Integer size){
        return listPage(page, size, Cnd.where("employeeID", "=", employeeId));
    }
}
